package com.shareppy.normanapitest.lexic.lexemes;

import com.shareppy.normanapitest.lexic.Lexeme;
import com.shareppy.normanapitest.lexic.LexemeType;

public class LexemeIdentifier extends Lexeme {

	public LexemeIdentifier(char ch) {
		super(ch, LexemeType.INDENTIFIER);
	}

	@Override
	public LexemeState supports(char ch) {
		if (Character.isLetter(ch)) {
			return LexemeState.CONTINUE;
		}
		return LexemeState.END;
	}
}